package com.study.sxc.Entity;

public class Lab {

    private Integer labId;    // 对应数据库的lab_id

    private String labName;   // 对应数据库的lab_name

    private String location;  // 对应数据库的location

    private Integer capacity; // 对应数据库的capacity

    public Lab() {}

    public Lab(Integer labId, String labName, String location, Integer capacity) {
        this.labId = labId;
        this.labName = labName;
        this.location = location;
        this.capacity = capacity;
    }

    public Integer getLabId() { return labId; }
    public void setLabId(Integer labId) { this.labId = labId; }
    public String getLabName() { return labName; }
    public void setLabName(String labName) { this.labName = labName; }
    public String getLocation() { return location; }
    public void setLocation(String location) { this.location = location; }
    public Integer getCapacity() { return capacity; }
    public void setCapacity(Integer capacity) { this.capacity = capacity; }

    @Override
    public String toString() {
        return "Lab{" +
                "labId=" + labId +
                ", labName='" + labName + '\'' +
                ", location='" + location + '\'' +
                ", capacity=" + capacity +
                '}';
    }
}